<html lang="ja" m:childrenOnly>
<head m:ignore>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>

<body m:childrenOnly>
	<h2>ヒット件数 <span m:bind="${items}.length">件数</span></h2>
    <table border="1">
    <tr>
    	<th>No2</th>
    	<th>itemName2</th>
    	<th>photo2</th>
    </tr>
    <tr m:array="${items}" m:iterator="item" m:start="${start_index}" m:count="${page_size}">
    	<td m:bind="${item_index}">1</td>
    	<td>
	    	<span m:bind="${item.shopName}" class="shopName">店舗名</span><br><hr>		
    		<span m:bind="${item}.itemName" class="productName">商品名</span>
    	</td>
    	<td><img src="sample.png" m:src="${item}.mediumImageUrl" width="128" height="128"></td>
    </tr>
    <tr m:ignore>
    	<td>2</td>
    	<td>
	    	<span class="shopName">店舗名２</span><br><hr>		
    		<span class="productName">商品名２</span>
    	</td>
    	<td><img src="sample.png" width="128" height="128"></td>
    </tr>
    </table>
    <input type="button" id="prev" value="prev" m:cond="${start_index} > 0">
    <input type="button" id="prev" value="prev" m:cond="${start_index} == 0" disabled>
    <input type="button" id="next" value="next" m:cond="${start_index} < ${limit}">
    <input type="button" id="next" value="next" m:cond="${start_index} >= ${limit}" disabled>
</body>
</html>